import request from "@/api/request";

export const getEnterprises= (data) => {
    return request.get('/enterprise',data)
}
export const createEnterprise = (data:EnterpriseType)=>{
    return request.post('/enterprise',data)
}

export const searchEnterprise = (data:any)=>{
    return request.get('/enterprise/search',data)
}

export const inviteEnterprise = (data:any)=>{
    return request.post('/enterprise/invite',data)
}